Skip to content
This repository was archived by the owner on Mar 25, 2024. It is now read-only.

Conversation

@truls1502
Copy link
Member

Merk:

@truls1502 truls1502 requested a review from eiriksm March 13, 2019 18:19
@truls1502
Copy link
Member Author

Update from 4.6.0 to 4.8.0 includes database updates:

www-data@17ded328d752:/app$ drush updb -y
 ----------------- ---------------------- --------------- ----------------------------------------------------------- 
  Module            Update ID              Type            Description                                                
 ----------------- ---------------------- --------------- ----------------------------------------------------------- 
  profile           8002                   hook_update_n   Updates view profile permission name.                      
  profile           8003                   hook_update_n   Removes the langcode key from the profile entity keys.     
  profile           8004                   hook_update_n   Add the uid entity key to profiles.                        
  profile           8005                   hook_update_n   Rerun uid entity key addition after incorrect entity type  
                                                           fixed.                                                     
  social_topic      8003                   hook_update_n   Set social_topic settings.                                 
  activity_logger   apply_schema_changes   post-update     Update message template settings based on configuration    
                                                           schema metadata.                                           
 ----------------- ---------------------- --------------- ----------------------------------------------------------- 

 // Do you wish to run the specified pending updates?: yes.                                                             

 [notice] Update started: profile_update_8002
 [notice] Permission name updated.
 [ok] Update completed: profile_update_8002
 [notice] Update started: profile_update_8003
 [notice] Language code key removed from profile entity definition.
 [ok] Update completed: profile_update_8003
 [notice] Update started: profile_update_8004
 [notice] The uid entity key has been added to profiles.
 [ok] Update completed: profile_update_8004
 [notice] Update started: profile_update_8005
 [ok] Update completed: profile_update_8005
 [notice] Update started: social_topic_update_8003
 [ok] Update completed: social_topic_update_8003
 [notice] Update started: activity_logger_post_update_apply_schema_changes
 [ok] Update completed: activity_logger_post_update_apply_schema_changes
 [success] Finished performing updates.
www-data@17ded328d752:/app$ drush entup -y
 [success] No entity schema updates required
 [success] Cache rebuild complete.
 [success] Finished performing updates

@truls1502 truls1502 changed the title Update OS to 4.6 Update OS to 4.8 Apr 5, 2019
@truls1502 truls1502 changed the title Update OS to 4.8 Update OS to 4.9 Apr 10, 2019
@truls1502
Copy link
Member Author

Update from 4.6 to 4.9 includes database updates:

www-data@dc2d2a312929:/app$ composer update --lock && drush updb -y && drush entup -y && drush -y fra --bundle=social && composer export
    1/3:	http://repo.packagist.org/p/provider-2018-10$14d80584848f6c806ca7ab00d1140d310b6d826708ef9b87db89ce3a0db06bed.json
    2/3:	http://repo.packagist.org/p/provider-latest$6f80ccbc9f1c1f942af9dc257e7f87eb88829342de6448f22baa8696159f4171.json
    3/3:	http://repo.packagist.org/p/provider-2019-01$ede96e175e2ebd1209253b1190ef23d2dcc37577c66a904f3a16979dbc6015d1.json
    Finished: success: 3, skipped: 0, failure: 0, total: 3
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
 ----------------- ---------------------- --------------- ---------------------------------------- 
  Module            Update ID              Type            Description                             
 ----------------- ---------------------- --------------- ---------------------------------------- 
  address           8104                   hook_update_n   Transfers the default country code      
                                                           widget setting to the field config.     
  profile           8002                   hook_update_n   Updates view profile permission name.   
  profile           8003                   hook_update_n   Removes the langcode key from the       
                                                           profile entity keys.                    
  profile           8004                   hook_update_n   Add the uid entity key to profiles.     
  profile           8005                   hook_update_n   Rerun uid entity key addition after     
                                                           incorrect entity type fixed.            
  social_topic      8003                   hook_update_n   Set social_topic settings.              
  activity_logger   apply_schema_changes   post-update     Update message template settings based  
                                                           on configuration schema metadata.       
 ----------------- ---------------------- --------------- ---------------------------------------- 


 // Do you wish to run the specified pending updates?: yes.                                          

>  [notice] Update started: profile_update_8002
>  [notice] Permission name updated.
>  [notice] Update completed: profile_update_8002
>  [notice] Update started: profile_update_8003
>  [notice] Language code key removed from profile entity definition.
>  [notice] Update completed: profile_update_8003
>  [notice] Update started: profile_update_8004
>  [notice] The uid entity key has been added to profiles.
>  [notice] Update completed: profile_update_8004
>  [notice] Update started: address_update_8104
>  [notice] Update completed: address_update_8104
>  [notice] Update started: profile_update_8005
>  [notice] Update completed: profile_update_8005
>  [notice] Update started: social_topic_update_8003
>  [notice] Update completed: social_topic_update_8003
>  [notice] Update started: activity_logger_post_update_apply_schema_changes
>  [notice] Update completed: activity_logger_post_update_apply_schema_changes
 [success] Finished performing updates.
 [success] No entity schema updates required
 [success] Finished performing updates.

 // Do you really want to import social_activity : message.template.create_comment_author_node_post?:
 // yes.                                                                                             

 // Do you really want to import social_activity : message.template.create_comment_community_node?:  
 // yes.                                                                                             

 // Do you really want to import social_activity : message.template.create_comment_community_post?:  
 // yes.                                                                                             

 // Do you really want to import social_activity : message.template.create_comment_group_node?: yes. 

 // Do you really want to import social_activity : message.template.create_comment_group_post?: yes. 

 // Do you really want to import social_activity : message.template.create_comment_post_profile?:    
 // yes.                                                                                             

 // Do you really want to import social_activity : message.template.create_comment_reply?: yes.      

 // Do you really want to import social_activity : message.template.create_content_in_joined_group?: 
 // yes.                                                                                             

 // Do you really want to import social_activity : message.template.create_event_community?: yes.    

 // Do you really want to import social_activity : message.template.create_event_group?: yes.        

 // Do you really want to import social_activity : message.template.create_post_community?: yes.     

 // Do you really want to import social_activity : message.template.create_post_group?: yes.         

 // Do you really want to import social_activity : message.template.create_post_profile?: yes.       

 // Do you really want to import social_activity : message.template.create_post_profile_stream?: yes.

 // Do you really want to import social_activity : message.template.create_topic_community?: yes.    

 // Do you really want to import social_activity : message.template.create_topic_group?: yes.        

 // Do you really want to import social_activity : message.template.join_to_group?: yes.             

 // Do you really want to import social_activity : message.template.moved_content_between_groups?:   
 // yes.                                                                                             

 // Do you really want to import social_comment : core.entity_form_display.comment.comment.default?: 
 // yes.                                                                                             

 // Do you really want to import social_comment : core.entity_view_display.comment.comment.activity?:
 // yes.                                                                                             

 // Do you really want to import social_comment :                                                    
 // core.entity_view_display.comment.comment.activity_comment?: yes.                                 

 // Do you really want to import social_comment : core.entity_view_display.comment.comment.default?: 
 // yes.                                                                                             

 // Do you really want to import social_core :                                                       
 // core.entity_form_display.block_content.hero_call_to_action_block.default?: yes.                  

 // Do you really want to import social_core :                                                       
 // core.entity_form_display.block_content.platform_intro.default?: yes.                             

 // Do you really want to import social_core :                                                       
 // core.entity_view_display.block_content.hero_call_to_action_block.default?: yes.                  

 // Do you really want to import social_core :                                                       
 // core.entity_view_display.block_content.platform_intro.default?: yes.                             

 // Do you really want to import social_editor : editor.editor.basic_html?: yes.                     

 // Do you really want to import social_editor : editor.editor.full_html?: yes.                      

 // Do you really want to import social_event : core.entity_form_display.node.event.default?: yes.   

 // Do you really want to import social_event : core.entity_view_display.node.event.activity?: yes.  

 // Do you really want to import social_event :                                                      
 // core.entity_view_display.node.event.activity_comment?: yes.                                      

 // Do you really want to import social_event : core.entity_view_display.node.event.default?: yes.   

 // Do you really want to import social_event : core.entity_view_display.node.event.hero?: yes.      

 // Do you really want to import social_event : core.entity_view_display.node.event.search_index?:   
 // yes.                                                                                             

 // Do you really want to import social_event : core.entity_view_display.node.event.small_teaser?:   
 // yes.                                                                                             

 // Do you really want to import social_event : core.entity_view_display.node.event.teaser?: yes.    

 // Do you really want to import social_event : field.field.node.event.field_event_address?: yes.    

 // Do you really want to import social_event : language.content_settings.node.event?: yes.          

 // Do you really want to import social_follow_content :                                             
 // message.template.create_comment_following_node?: yes.                                            

 // Do you really want to import social_follow_content : views.view.following?: yes.                 

 // Do you really want to import social_group : core.entity_form_display.group.closed_group.default?:
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_form_display.group.open_group.default?:  
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_form_display.group.public_group.default?:
 // yes.                                                                                             

 // Do you really want to import social_group :                                                      
 // core.entity_form_display.group_content.closed_group-group_membership.default?: yes.              

 // Do you really want to import social_group :                                                      
 // core.entity_form_display.group_content.open_group-group_membership.default?: yes.                

 // Do you really want to import social_group :                                                      
 // core.entity_form_display.group_content.public_group-group_membership.default?: yes.              

 // Do you really want to import social_group : core.entity_view_display.group.closed_group.default?:
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.closed_group.hero?:   
 // yes.                                                                                             

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group.closed_group.small_teaser?: yes.                                  

 // Do you really want to import social_group : core.entity_view_display.group.closed_group.stream?: 
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.closed_group.teaser?: 
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.open_group.default?:  
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.open_group.hero?: yes.

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group.open_group.small_teaser?: yes.                                    

 // Do you really want to import social_group : core.entity_view_display.group.open_group.stream?:   
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.open_group.teaser?:   
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.public_group.default?:
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.public_group.hero?:   
 // yes.                                                                                             

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group.public_group.small_teaser?: yes.                                  

 // Do you really want to import social_group : core.entity_view_display.group.public_group.stream?: 
 // yes.                                                                                             

 // Do you really want to import social_group : core.entity_view_display.group.public_group.teaser?: 
 // yes.                                                                                             

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.closed_group-group_membership.default?: yes.              

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.closed_group-group_node-event.default?: yes.              

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.closed_group-group_node-event.teaser?: yes.               

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.closed_group-group_node-topic.default?: yes.              

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.closed_group-group_node-topic.teaser?: yes.               

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.open_group-group_membership.default?: yes.                

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.open_group-group_node-event.default?: yes.                

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.open_group-group_node-event.teaser?: yes.                 

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.open_group-group_node-topic.default?: yes.                

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.open_group-group_node-topic.teaser?: yes.                 

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.public_group-group_membership.default?: yes.              

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.public_group-group_node-event.default?: yes.              

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.public_group-group_node-event.teaser?: yes.               

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.public_group-group_node-topic.default?: yes.              

 // Do you really want to import social_group :                                                      
 // core.entity_view_display.group_content.public_group-group_node-topic.teaser?: yes.               

 // Do you really want to import social_group : field.field.group.closed_group.field_group_address?: 
 // yes.                                                                                             

 // Do you really want to import social_group : field.field.group.open_group.field_group_address?:   
 // yes.                                                                                             

 // Do you really want to import social_group : views.view.group_members?: yes.                      

 // Do you really want to import social_like : message.template.create_like_node_or_post?: yes.      

 // Do you really want to import social_mentions :                                                   
 // core.entity_view_display.profile.profile.autocomplete_item?: yes.                                

 // Do you really want to import social_mentions : message.template.create_comment_reply_mention?:   
 // yes.                                                                                             

 // Do you really want to import social_mentions : message.template.create_mention_comment?: yes.    

 // Do you really want to import social_mentions : message.template.create_mention_comment_stream?:  
 // yes.                                                                                             

 // Do you really want to import social_mentions : message.template.create_mention_post?: yes.       

 // Do you really want to import social_mentions : message.template.create_mention_post_stream?: yes.

 // Do you really want to import social_page : core.entity_form_display.node.page.default?: yes.     

 // Do you really want to import social_page : core.entity_view_display.node.page.activity?: yes.    

 // Do you really want to import social_page : core.entity_view_display.node.page.activity_comment?: 
 // yes.                                                                                             

 // Do you really want to import social_page : core.entity_view_display.node.page.default?: yes.     

 // Do you really want to import social_page : core.entity_view_display.node.page.search_index?: yes.

 // Do you really want to import social_page : core.entity_view_display.node.page.teaser?: yes.      

 // Do you really want to import social_page : language.content_settings.node.page?: yes.            

 // Do you really want to import social_post : block.block.postblock?: yes.                          

 // Do you really want to import social_post : block.block.postongroupblock?: yes.                   

 // Do you really want to import social_post : block.block.postonprofileblock?: yes.                 

 // Do you really want to import social_post :                                                       
 // core.entity_form_display.comment.post_comment.default?: yes.                                     

 // Do you really want to import social_post :                                                       
 // core.entity_view_display.comment.post_comment.default?: yes.                                     

 // Do you really want to import social_profile : core.entity_form_display.profile.profile.default?: 
 // yes.                                                                                             

 // Do you really want to import social_profile : core.entity_view_display.profile.profile.compact?: 
 // yes.                                                                                             

 // Do you really want to import social_profile :                                                    
 // core.entity_view_display.profile.profile.compact_notification?: yes.                             

 // Do you really want to import social_profile :                                                    
 // core.entity_view_display.profile.profile.compact_teaser?: yes.                                   

 // Do you really want to import social_profile : core.entity_view_display.profile.profile.default?: 
 // yes.                                                                                             

 // Do you really want to import social_profile : core.entity_view_display.profile.profile.hero?:    
 // yes.                                                                                             

 // Do you really want to import social_profile :                                                    
 // core.entity_view_display.profile.profile.search_index?: yes.                                     

 // Do you really want to import social_profile : core.entity_view_display.profile.profile.small?:   
 // yes.                                                                                             

 // Do you really want to import social_profile :                                                    
 // core.entity_view_display.profile.profile.small_teaser?: yes.                                     

 // Do you really want to import social_profile : core.entity_view_display.profile.profile.table?:   
 // yes.                                                                                             

 // Do you really want to import social_profile : core.entity_view_display.profile.profile.teaser?:  
 // yes.                                                                                             

 // Do you really want to import social_profile : field.field.profile.profile.field_profile_address?:
 // yes.                                                                                             

 // Do you really want to import social_search : views.view.search_users?: yes.                      

 // Do you really want to import social_search : tour.tour.search-api-index?: yes.                   

 // Do you really want to import social_search : tour.tour.search-api-index-fields?: yes.            

 // Do you really want to import social_search : tour.tour.search-api-index-form?: yes.              

 // Do you really want to import social_search : tour.tour.search-api-index-processors?: yes.        

 // Do you really want to import social_search : tour.tour.search-api-server?: yes.                  

 // Do you really want to import social_search : tour.tour.search-api-server-form?: yes.             

 // Do you really want to import social_topic : core.entity_form_display.node.topic.default?: yes.   

 // Do you really want to import social_topic : core.entity_view_display.node.topic.activity?: yes.  

 // Do you really want to import social_topic :                                                      
 // core.entity_view_display.node.topic.activity_comment?: yes.                                      

 // Do you really want to import social_topic : core.entity_view_display.node.topic.default?: yes.   

 // Do you really want to import social_topic : core.entity_view_display.node.topic.search_index?:   
 // yes.                                                                                             

 // Do you really want to import social_topic : core.entity_view_display.node.topic.small_teaser?:   
 // yes.                                                                                             

 // Do you really want to import social_topic : core.entity_view_display.node.topic.teaser?: yes.    

 // Do you really want to import social_user : core.entity_form_display.user.user.default?: yes.     

 // Do you really want to import social_user : core.entity_form_display.user.user.register?: yes.    

 // Do you really want to import social_user : core.entity_view_display.user.user.default?: yes.     

 // Do you really want to import social_user : core.entity_view_display.user.user.full?: yes.        

 // Do you really want to import social_user : captcha.captcha_point.user_register_form?: yes.       

> ./vendor/bin/drush --root=$(pwd)/html cex -y
 [notice] Differences of the active config to the export directory:
+-------------+------------------------------------------------+-----------+
| Collection  | Config                                         | Operation |
+-------------+------------------------------------------------+-----------+
|             | message.template.create_comment_community_node | Update    |
|             | message.template.create_comment_following_node | Update    |
|             | message.template.create_comment_group_node     | Update    |
|             | message.template.create_comment_post_profile   | Update    |
|             | message.template.create_comment_reply          | Update    |
|             | message.template.create_mention_comment_stream | Update    |
|             | message.template.create_mention_post_stream    | Update    |
|             | message.template.create_post_profile           | Update    |
|             | message.template.create_post_profile_stream    | Update    |
|             | user.role.anonymous                            | Update    |
|             | views.view.following                           | Update    |
|             | views.view.group_members                       | Update    |
|             | captcha.captcha_point.user_register_form       | Update    |
| language.nb | message.template.create_comment_community_node | Update    |
| language.nb | message.template.create_comment_following_node | Update    |
| language.nb | message.template.create_comment_group_node     | Update    |
| language.nb | message.template.create_comment_post_profile   | Update    |
| language.nb | message.template.create_comment_reply          | Update    |
| language.nb | message.template.create_mention_comment_stream | Update    |
| language.nb | message.template.create_mention_post_stream    | Update    |
| language.nb | message.template.create_post_profile           | Update    |
| language.nb | message.template.create_post_profile_stream    | Update    |
+-------------+------------------------------------------------+-----------+


 // The .yml files in your export directory (../config) will be deleted and replaced with the active 
 // config.: yes.                                                                                    

 [success] Configuration successfully exported to ../config.
../config

I have reset the files: captcha.captcha_point.user_register_form (to use reCAPTCHA) and user.role.anonymous (to let vistors read the comments).

@truls1502
Copy link
Member Author

I have also updated drush/drush to 9.6.2 (same as #279) before updating OS 4.9

@truls1502 truls1502 merged commit edd8e11 into drupalnorge:master Apr 11, 2019
@truls1502 truls1502 deleted the fix/os4-6 branch April 12, 2019 07:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant